package com.zheng.damo01;

public class Testo1 {
    public static void main(String[] args) {
        Coordinate<String> c1=new Coordinate<>();
        Coordinate<Double> c2=new Coordinate<>();
        c1.x="a";
        c1.y="z";
        c2.x=1.0;
        c2.y=2.0;
    }
}
class Coordinate<T>{
    T x;
    T y;
}
